package com.waypolice.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UpmsFileNumExample implements Serializable {
    private static final long serialVersionUID = 1L;
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpmsFileNumExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFileIdIsNull() {
            addCriterion("FILE_ID is null");
            return (Criteria) this;
        }

        public Criteria andFileIdIsNotNull() {
            addCriterion("FILE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andFileIdEqualTo(Integer value) {
            addCriterion("FILE_ID =", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotEqualTo(Integer value) {
            addCriterion("FILE_ID <>", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThan(Integer value) {
            addCriterion("FILE_ID >", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FILE_ID >=", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdLessThan(Integer value) {
            addCriterion("FILE_ID <", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdLessThanOrEqualTo(Integer value) {
            addCriterion("FILE_ID <=", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdIn(List<Integer> values) {
            addCriterion("FILE_ID in", values, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotIn(List<Integer> values) {
            addCriterion("FILE_ID not in", values, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdBetween(Integer value1, Integer value2) {
            addCriterion("FILE_ID between", value1, value2, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FILE_ID not between", value1, value2, "fileId");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNull() {
            addCriterion("SORT_NUM is null");
            return (Criteria) this;
        }

        public Criteria andSortNumIsNotNull() {
            addCriterion("SORT_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andSortNumEqualTo(Integer value) {
            addCriterion("SORT_NUM =", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotEqualTo(Integer value) {
            addCriterion("SORT_NUM <>", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThan(Integer value) {
            addCriterion("SORT_NUM >", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("SORT_NUM >=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThan(Integer value) {
            addCriterion("SORT_NUM <", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumLessThanOrEqualTo(Integer value) {
            addCriterion("SORT_NUM <=", value, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumIn(List<Integer> values) {
            addCriterion("SORT_NUM in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotIn(List<Integer> values) {
            addCriterion("SORT_NUM not in", values, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumBetween(Integer value1, Integer value2) {
            addCriterion("SORT_NUM between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andSortNumNotBetween(Integer value1, Integer value2) {
            addCriterion("SORT_NUM not between", value1, value2, "sortNum");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andLengthIsNull() {
            addCriterion("LENGTH is null");
            return (Criteria) this;
        }

        public Criteria andLengthIsNotNull() {
            addCriterion("LENGTH is not null");
            return (Criteria) this;
        }

        public Criteria andLengthEqualTo(String value) {
            addCriterion("LENGTH =", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthNotEqualTo(String value) {
            addCriterion("LENGTH <>", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthGreaterThan(String value) {
            addCriterion("LENGTH >", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthGreaterThanOrEqualTo(String value) {
            addCriterion("LENGTH >=", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthLessThan(String value) {
            addCriterion("LENGTH <", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthLessThanOrEqualTo(String value) {
            addCriterion("LENGTH <=", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthLike(String value) {
            addCriterion("LENGTH like", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthNotLike(String value) {
            addCriterion("LENGTH not like", value, "length");
            return (Criteria) this;
        }

        public Criteria andLengthIn(List<String> values) {
            addCriterion("LENGTH in", values, "length");
            return (Criteria) this;
        }

        public Criteria andLengthNotIn(List<String> values) {
            addCriterion("LENGTH not in", values, "length");
            return (Criteria) this;
        }

        public Criteria andLengthBetween(String value1, String value2) {
            addCriterion("LENGTH between", value1, value2, "length");
            return (Criteria) this;
        }

        public Criteria andLengthNotBetween(String value1, String value2) {
            addCriterion("LENGTH not between", value1, value2, "length");
            return (Criteria) this;
        }

        public Criteria andSeparatorIsNull() {
            addCriterion("SEPARATOR is null");
            return (Criteria) this;
        }

        public Criteria andSeparatorIsNotNull() {
            addCriterion("SEPARATOR is not null");
            return (Criteria) this;
        }

        public Criteria andSeparatorEqualTo(String value) {
            addCriterion("SEPARATOR =", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorNotEqualTo(String value) {
            addCriterion("SEPARATOR <>", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorGreaterThan(String value) {
            addCriterion("SEPARATOR >", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorGreaterThanOrEqualTo(String value) {
            addCriterion("SEPARATOR >=", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorLessThan(String value) {
            addCriterion("SEPARATOR <", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorLessThanOrEqualTo(String value) {
            addCriterion("SEPARATOR <=", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorLike(String value) {
            addCriterion("SEPARATOR like", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorNotLike(String value) {
            addCriterion("SEPARATOR not like", value, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorIn(List<String> values) {
            addCriterion("SEPARATOR in", values, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorNotIn(List<String> values) {
            addCriterion("SEPARATOR not in", values, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorBetween(String value1, String value2) {
            addCriterion("SEPARATOR between", value1, value2, "separator");
            return (Criteria) this;
        }

        public Criteria andSeparatorNotBetween(String value1, String value2) {
            addCriterion("SEPARATOR not between", value1, value2, "separator");
            return (Criteria) this;
        }

        public Criteria andPkCodeIsNull() {
            addCriterion("PK_CODE is null");
            return (Criteria) this;
        }

        public Criteria andPkCodeIsNotNull() {
            addCriterion("PK_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andPkCodeEqualTo(String value) {
            addCriterion("PK_CODE =", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeNotEqualTo(String value) {
            addCriterion("PK_CODE <>", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeGreaterThan(String value) {
            addCriterion("PK_CODE >", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeGreaterThanOrEqualTo(String value) {
            addCriterion("PK_CODE >=", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeLessThan(String value) {
            addCriterion("PK_CODE <", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeLessThanOrEqualTo(String value) {
            addCriterion("PK_CODE <=", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeLike(String value) {
            addCriterion("PK_CODE like", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeNotLike(String value) {
            addCriterion("PK_CODE not like", value, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeIn(List<String> values) {
            addCriterion("PK_CODE in", values, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeNotIn(List<String> values) {
            addCriterion("PK_CODE not in", values, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeBetween(String value1, String value2) {
            addCriterion("PK_CODE between", value1, value2, "pkCode");
            return (Criteria) this;
        }

        public Criteria andPkCodeNotBetween(String value1, String value2) {
            addCriterion("PK_CODE not between", value1, value2, "pkCode");
            return (Criteria) this;
        }

        public Criteria andStr1IsNull() {
            addCriterion("STR1 is null");
            return (Criteria) this;
        }

        public Criteria andStr1IsNotNull() {
            addCriterion("STR1 is not null");
            return (Criteria) this;
        }

        public Criteria andStr1EqualTo(String value) {
            addCriterion("STR1 =", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotEqualTo(String value) {
            addCriterion("STR1 <>", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1GreaterThan(String value) {
            addCriterion("STR1 >", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1GreaterThanOrEqualTo(String value) {
            addCriterion("STR1 >=", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1LessThan(String value) {
            addCriterion("STR1 <", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1LessThanOrEqualTo(String value) {
            addCriterion("STR1 <=", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1Like(String value) {
            addCriterion("STR1 like", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotLike(String value) {
            addCriterion("STR1 not like", value, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1In(List<String> values) {
            addCriterion("STR1 in", values, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotIn(List<String> values) {
            addCriterion("STR1 not in", values, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1Between(String value1, String value2) {
            addCriterion("STR1 between", value1, value2, "str1");
            return (Criteria) this;
        }

        public Criteria andStr1NotBetween(String value1, String value2) {
            addCriterion("STR1 not between", value1, value2, "str1");
            return (Criteria) this;
        }

        public Criteria andStr2IsNull() {
            addCriterion("STR2 is null");
            return (Criteria) this;
        }

        public Criteria andStr2IsNotNull() {
            addCriterion("STR2 is not null");
            return (Criteria) this;
        }

        public Criteria andStr2EqualTo(String value) {
            addCriterion("STR2 =", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotEqualTo(String value) {
            addCriterion("STR2 <>", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2GreaterThan(String value) {
            addCriterion("STR2 >", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2GreaterThanOrEqualTo(String value) {
            addCriterion("STR2 >=", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2LessThan(String value) {
            addCriterion("STR2 <", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2LessThanOrEqualTo(String value) {
            addCriterion("STR2 <=", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2Like(String value) {
            addCriterion("STR2 like", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotLike(String value) {
            addCriterion("STR2 not like", value, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2In(List<String> values) {
            addCriterion("STR2 in", values, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotIn(List<String> values) {
            addCriterion("STR2 not in", values, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2Between(String value1, String value2) {
            addCriterion("STR2 between", value1, value2, "str2");
            return (Criteria) this;
        }

        public Criteria andStr2NotBetween(String value1, String value2) {
            addCriterion("STR2 not between", value1, value2, "str2");
            return (Criteria) this;
        }

        public Criteria andStr3IsNull() {
            addCriterion("STR3 is null");
            return (Criteria) this;
        }

        public Criteria andStr3IsNotNull() {
            addCriterion("STR3 is not null");
            return (Criteria) this;
        }

        public Criteria andStr3EqualTo(String value) {
            addCriterion("STR3 =", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotEqualTo(String value) {
            addCriterion("STR3 <>", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3GreaterThan(String value) {
            addCriterion("STR3 >", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3GreaterThanOrEqualTo(String value) {
            addCriterion("STR3 >=", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3LessThan(String value) {
            addCriterion("STR3 <", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3LessThanOrEqualTo(String value) {
            addCriterion("STR3 <=", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3Like(String value) {
            addCriterion("STR3 like", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotLike(String value) {
            addCriterion("STR3 not like", value, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3In(List<String> values) {
            addCriterion("STR3 in", values, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotIn(List<String> values) {
            addCriterion("STR3 not in", values, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3Between(String value1, String value2) {
            addCriterion("STR3 between", value1, value2, "str3");
            return (Criteria) this;
        }

        public Criteria andStr3NotBetween(String value1, String value2) {
            addCriterion("STR3 not between", value1, value2, "str3");
            return (Criteria) this;
        }

        public Criteria andStr4IsNull() {
            addCriterion("STR4 is null");
            return (Criteria) this;
        }

        public Criteria andStr4IsNotNull() {
            addCriterion("STR4 is not null");
            return (Criteria) this;
        }

        public Criteria andStr4EqualTo(String value) {
            addCriterion("STR4 =", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotEqualTo(String value) {
            addCriterion("STR4 <>", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4GreaterThan(String value) {
            addCriterion("STR4 >", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4GreaterThanOrEqualTo(String value) {
            addCriterion("STR4 >=", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4LessThan(String value) {
            addCriterion("STR4 <", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4LessThanOrEqualTo(String value) {
            addCriterion("STR4 <=", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4Like(String value) {
            addCriterion("STR4 like", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotLike(String value) {
            addCriterion("STR4 not like", value, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4In(List<String> values) {
            addCriterion("STR4 in", values, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotIn(List<String> values) {
            addCriterion("STR4 not in", values, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4Between(String value1, String value2) {
            addCriterion("STR4 between", value1, value2, "str4");
            return (Criteria) this;
        }

        public Criteria andStr4NotBetween(String value1, String value2) {
            addCriterion("STR4 not between", value1, value2, "str4");
            return (Criteria) this;
        }

        public Criteria andStr5IsNull() {
            addCriterion("STR5 is null");
            return (Criteria) this;
        }

        public Criteria andStr5IsNotNull() {
            addCriterion("STR5 is not null");
            return (Criteria) this;
        }

        public Criteria andStr5EqualTo(String value) {
            addCriterion("STR5 =", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotEqualTo(String value) {
            addCriterion("STR5 <>", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5GreaterThan(String value) {
            addCriterion("STR5 >", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5GreaterThanOrEqualTo(String value) {
            addCriterion("STR5 >=", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5LessThan(String value) {
            addCriterion("STR5 <", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5LessThanOrEqualTo(String value) {
            addCriterion("STR5 <=", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5Like(String value) {
            addCriterion("STR5 like", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotLike(String value) {
            addCriterion("STR5 not like", value, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5In(List<String> values) {
            addCriterion("STR5 in", values, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotIn(List<String> values) {
            addCriterion("STR5 not in", values, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5Between(String value1, String value2) {
            addCriterion("STR5 between", value1, value2, "str5");
            return (Criteria) this;
        }

        public Criteria andStr5NotBetween(String value1, String value2) {
            addCriterion("STR5 not between", value1, value2, "str5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable{

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}